import React, { memo } from 'react'
import { useSelector } from 'react-redux'

export default memo(function Detail() {
  const { detailInfo } = useSelector((state) => ({
    detailInfo: state.detail.detailInfo,
  }))

  return <div>{detailInfo.name}</div>
})
